.custom-el-dropdown-menu {
    padding: 0px;
    .el-dropdown-menu__item {
        padding: 0px 10px;
        &:hover {
            background-color: unset;
        }
    }
}

.custom-el-drawer {
    *:focus {
        outline-color: rgba(#ffffff, 0);
        outline: none;
    }
    .el-drawer__header {
        margin-bottom: 0px;
        padding: 16px 20px;
        border-bottom: 1px solid rgba($theme-color, 0.3);
        background-color: rgba($theme-color, 0.05);
    }
    .el-tabs__content {
        padding-right: 10px;
        padding-top: 10px;
    }
    // .el-drawer__body {
    //     // @extend .scrollbar-style;
    // }
    .drag-config-content {
        padding: 5px 10px;
        .drag-config-tags {
            padding: 5px 5px 0px;
            border: 1px dashed rgb(196, 197, 200);
            margin-bottom: 10px;
            .el-tag {
                cursor: pointer;
                margin-bottom: 5px;
                &:last-of-type {
                    margin-right: 10px;
                }
            }
            .el-button,
            .el-input {
                margin-bottom: 5px;
            }
        }
    }
}

// 子定义dialog样式
.custom-dialog {
    .el-dialog__header {
        border-bottom: 1px solid #EFF1F3;
        border-top: 2px solid $theme-color;
        background-color: rgba($theme-color, 0.05);
        padding: 10px 20px;
        .el-dialog__title {
            font-size: 16px;
        }
        .el-dialog__headerbtn {
            top: 11px;
        }
    }
    .el-dialog__close {
        background-color: rgba(#000000, 0.25);
        color: #ffffff;
        display: inline-block;
        width: 24px;
        height: 24px;
        line-height: 24px;
        text-align: center;
        border-radius: 50%;
        &:hover {
            background-color: rgba(#000000, 0.1);
        }
    }
    .el-dialog__footer {
        text-align: center;
        background-color: rgba($theme-color, 0.05);
        padding: 10px 20px;
    }
}

.custom-sub-menu {
    .el-menu-item,
    .el-submenu__title {
        @extend .flex-justify-between;
        align-items: center;
        flex-wrap: nowrap;
        >i {
            width: 20px;
        }
        .menu-label {
            flex: 1 1 auto;
            padding-right: 10px;
        }
    }
}

.el-drawer>header {
    >span:focus,
    >button:focus {
        outline-color: rgba(#ffffff, 0);
        outline: none;
    }
}

.el-select,
.el-cascader,
.el-input-number {
    width: 100%;
}

// 自定义table的样式
.custom-table {
    height: 100%;
    &-header {
        padding: 10px;
        align-items: center;
        &-title {
            font-size: 16px;
            i {
                vertical-align: middle;
                font-size: 20px;
                padding-right: 10px;
                color: $theme-color;
            }
        }
        &-btns {
            .el-button {
                margin-left: 10px;
            }
        }
    }
    .table-form-inline {
        padding: 0 10px;
        .el-form-item {
            display: flex;
            .el-form-item__label {
                flex-grow: 0;
                flex-shrink: 0;
            }
            .el-form-item__content {
                flex: 1 1 auto;
            }
            .el-select {
                width: 100%;
            }
        }
    }
    &-pagination {
        text-align: right;
        padding: 20px;
    }
    .right {
        text-align: right;
    }
    .left {
        text-align: left;
    }
    .center {
        text-align: center;
    }
    &-handle {
        .el-button {
            margin-left: 10px;
            &:first-child {
                margin-left: 0px;
            }
        }
        >span {
            padding: 0px 10px;
        }
    }
    .el-table {
        thead {
            color: unset;
        }
        .el-table__fixed-header-wrapper {
            thead tr th {
                background-color: rgba($theme-color, 0.3);
                border-right-color: rgba($theme-color, 0.1);
            }
        }
        .el-table__header-wrapper thead.has-gutter tr th {
            background-color: rgba($theme-color, 0.3);
            border-right-color: rgba($theme-color, 0.1);
        }
        .el-table__row,
        .el-tooltip {
            width: unset !important;
        }
    }
    .el-table--scrollable-x .el-table__body-wrapper {
        @extend .scrollbar-style;
    }
    .table-tree-ctrl {
        cursor: pointer;
        color: #666;
        margin-right: 15px;
        display: inline-block;
        width: 17px;
        height: 17px;
        text-align: center;
        line-height: 14px;
        border: 1px solid #e8e8e8;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background: #fff;
        font-size: 10px;
    }
    .table-tree-space {
        display: inline-block;
        width: 15px;
        height: 14px;
    }
    .table-tree-space-text {
        padding-left: 35px;
    }
    .el-table__fixed-right,
    .el-table__fixed {
        height: 100% !important;
    }
    // 暂无数据
    .el-table__empty-text {
        padding: 30px 0;
        i {
            font-size: 60px;
        }
        p {
            line-height: 20px;
            font-size: 16px;
        }
    }
}